![]() |
YNQ
YNQ-1.6.0
|
| #define NQ_ERR_MODULE (NQ_INT)(255u << 24) |
This module defines the NQ error subset
| #define IS_NQ_ERROR | ( | err | ) | ((err & NQ_ERR_MODULE) == NQ_ERR_MODULE) |
| #define NQ_ERR_OK (0) |
Success
| #define NQ_ERR_BADPARAM (NQ_ERR_MODULE | 3) |
Parameter error
| #define NQ_ERR_GETDATA (NQ_ERR_MODULE | 18) |
Error retrieving data
| #define NQ_ERR_INVALIDMODE (NQ_ERR_MODULE | 19) |
Invalid open mode
| #define NQ_ERR_NOSERVERMAC (NQ_ERR_MODULE | 20) |
Server doesn't support MAC signing
| #define NQ_ERR_SIGNATUREFAIL (NQ_ERR_MODULE | 21) |
MAC signature in incoming packet was broken
| #define NQ_ERR_OBJEXISTS (NQ_ERR_MODULE | 22) |
Database object already exists and cannot be created
| #define NQ_ERR_MOUNTERROR (NQ_ERR_MODULE | 23) |
Mount failed for a reason other than authentication
| #define NQ_ERR_UNABLETODISPOSE (NQ_ERR_MODULE | 24) |
Unable to dispose resources
| #define NQ_ERR_INVALIDHANDLE (NQ_ERR_MODULE | 25) |
Invalid handle passed
| #define NQ_ERR_NEGOTIATEFAILED (NQ_ERR_MODULE | 26) |
SMB negotiation failed
| #define NQ_ERR_PATHNOTCOVERED (NQ_ERR_MODULE | 27) |
Path should be resolved over DFS
| #define NQ_ERR_DFSCACHEOVERFLOW (NQ_ERR_MODULE | 28) |
DFS cache overflow
| #define NQ_ERR_ACCOUNTLOCKEDOUT (NQ_ERR_MODULE | 29) |
Account locked out
| #define NQ_ERR_USEREXISTS (NQ_ERR_MODULE | 30) |
Account already exists
| #define NQ_ERR_USERNOTFOUND (NQ_ERR_MODULE | 31) |
Account name not mapped
| #define NQ_ERR_NOTFOUND (NQ_ERR_MODULE | 32) |
Not found
| #define NQ_ERR_LOGONFAILURE (NQ_ERR_MODULE | 33) |
Logon failure
| #define NQ_ERR_VOLUMEDISMOUNTED (NQ_ERR_MODULE | 34) |
Volume not mounted
| #define NQ_ERR_NETWORKERROR (NQ_ERR_MODULE | 35) |
Network error: unreachable, busy, name deleted
| #define NQ_ERR_BADCONNECTION (NQ_ERR_MODULE | 36) |
Connection error: refused, disconnected, reset
| #define NQ_ERR_SHARINGPAUSED (NQ_ERR_MODULE | 37) |
File sharing error: has been temporarily paused
| #define NQ_ERR_BADDFS (NQ_ERR_MODULE | 38) |
DFS error: DFS not available on a server
| #define NQ_ERR_IOTIMEOUT (NQ_ERR_MODULE | 39) |
IO error: time-out period expired
| #define NQ_ERR_TRYAGAIN (NQ_ERR_MODULE | 40) |
Connection changed: possibly reconnect occurred - retry
| #define NQ_ERR_ACCOUNTEXPIRED (NQ_ERR_MODULE | 41) |
Account expired
| #define NQ_ERR_INVALIDLOGONHOURS (NQ_ERR_MODULE | 42) |
Invalid logon hours
| #define NQ_ERR_ACCOUNTDISABLED (NQ_ERR_MODULE | 43) |
Account is disabled
| #define NQ_ERR_SESSIONREAUTHREQUIRED (NQ_ERR_MODULE | 44) |
session reauthentication is required
| #define NQ_ERR_USERRELOGONFAILED (NQ_ERR_MODULE | 45) |
user relog failed
| #define NQ_ERR_SERVERUNAVAILABLE (NQ_ERR_MODULE | 46) |
the file server is temporarily unavailable
| #define NQ_ERR_SHAREUNAVAILABLE (NQ_ERR_MODULE | 47) |
the share is temporarily unavailable
| #define NQ_ERR_OUTOFMEMORY (NQ_ERR_MODULE | 901) |
Failed to allocate memory block
| #define NQ_ERR_BADFUNC (NQ_ERR_MODULE | 1001) |
Invalid function. The server did not recognize or could not perform a system call generated by the server, e.g. set the DIRECTORY attribute on a data file, invalid seek mode.
| #define NQ_ERR_BADFILE (NQ_ERR_MODULE | 1002) |
File not found. The last component of a file's pathname could not be found.
| #define NQ_ERR_BADPATH (NQ_ERR_MODULE | 1003) |
Directory invalid. A directory component in a pathname could not be found.
| #define NQ_ERR_NOFIDS (NQ_ERR_MODULE | 1004) |
Too many open files. The server has no file handles available.
| #define NQ_ERR_NOACCESS (NQ_ERR_MODULE | 1005) |
Access denied, the client's context does not permit the requested function. This includes the following conditions: invalid rename command, write to a file open for read only, read on a file open for write only, attempt to delete a non-empty directory.
| #define NQ_ERR_BADFID (NQ_ERR_MODULE | 1006) |
Invalid file handle. The file handle specified was not recognized by the server.
| #define NQ_ERR_BADMCB (NQ_ERR_MODULE | 1007) |
Memory control blocks destroyed
| #define NQ_ERR_NOMEM (NQ_ERR_MODULE | 1008) |
Insufficient server memory to perform the requested function
| #define NQ_ERR_BADMEM (NQ_ERR_MODULE | 1009) |
Invalid memory block address
| #define NQ_ERR_BADENV (NQ_ERR_MODULE | 1010) |
Invalid environment
| #define NQ_ERR_BADFORMAT (NQ_ERR_MODULE | 1011) |
Invalid format
| #define NQ_ERR_BADACCESS (NQ_ERR_MODULE | 1012) |
Invalid access
| #define NQ_ERR_BADDATA (NQ_ERR_MODULE | 1013) |
Invalid data (generated only by IOCTL calls within the server)
| #define NQ_ERR_BADDRIVE (NQ_ERR_MODULE | 1015) |
Invalid drive specified
| #define NQ_ERR_REMCD (NQ_ERR_MODULE | 1016) |
A Delete Directory request attempted to remove the server's current directory
| #define NQ_ERR_DIFFDEVICE (NQ_ERR_MODULE | 1017) |
Not the same device (e.g. a cross volume rename was attempted)
| #define NQ_ERR_NOFILES (NQ_ERR_MODULE | 1018) |
A File Search command can find no more files matching the specified criteria.
| #define NQ_ERR_WRONGDIALECT (NQ_ERR_MODULE | 1019) |
Dialect revision does not present in Client's active dialects list
| #define NQ_ERR_BADSHARE (NQ_ERR_MODULE | 1032) |
The network path cannot be located.
| #define NQ_ERR_LOCK (NQ_ERR_MODULE | 1033) |
A Lock request conflicted with an existing lock or specified an invalid mode, or an Unlock requested attempted to remove a lock held by another process.
| #define NQ_ERR_DONTSUPPORTIPC (NQ_ERR_MODULE | 1066) |
Server does not support IPC pseudo-filesystem, so that RPC operations are not available.
| #define NQ_ERR_SHARINGVIOLATION (NQ_ERR_MODULE | 1067) |
The sharing mode specified for Open conflicts with existing opens on the file.
| #define NQ_ERR_FILEXISTS (NQ_ERR_MODULE | 1080) |
The file named in the request already exists.
| #define NQ_ERR_BADDIRECTORY (NQ_ERR_MODULE | 1087) |
The file specified is not a directory while directory expected.
| #define NQ_ERR_INSUFFICIENTBUFFER (NQ_ERR_MODULE | 1122) |
Server compose a response due to constraints applied on the request.
| #define NQ_ERR_INVALIDNAME (NQ_ERR_MODULE | 1123) |
File name or path contains invalid characters.
| #define NQ_ERR_DIRNOTEMPTY (NQ_ERR_MODULE | 1145) |
Directory not empty.
| #define NQ_ERR_ALREADYEXISTS (NQ_ERR_MODULE | 1183) |
Object already exists. Returned on an attempt to create file or directory which already exists on the server.
| #define NQ_ERR_BADPIPE (NQ_ERR_MODULE | 1230) |
RPC request specifies invalid handle or a handle that does correspond to an RPC pipe.
| #define NQ_ERR_PIPEBUSY (NQ_ERR_MODULE | 1231) |
Server cannot currently perform the required RPC operation. Client can try again later.
| #define NQ_ERR_PIPECLOSING (NQ_ERR_MODULE | 1232) |
RPC pipe is being closed.
| #define NQ_ERR_NOTCONNECTED (NQ_ERR_MODULE | 1233) |
Connection to server lost.
| #define NQ_ERR_MOREDATA (NQ_ERR_MODULE | 1234) |
The entire payload does not fit in the response.
| #define NQ_ERR_INVALIDNAMELEN (NQ_ERR_MODULE | 1235) |
Invalid name length.
| #define NQ_ERR_ERROR (NQ_ERR_MODULE | 2001) |
Non-specific error code, returned when none of specific error codes is applicable.
| #define NQ_ERR_BADPW (NQ_ERR_MODULE | 2002) |
Invalid password - name/password pair.
| #define NQ_ERR_ACCESS (NQ_ERR_MODULE | 2004) |
The client does not have the necessary access rights within the specified context for the requested function.
| #define NQ_ERR_INVTID (NQ_ERR_MODULE | 2005) |
The TID specified in a command was invalid.
| #define NQ_ERR_INVNETNAME (NQ_ERR_MODULE | 2006) |
Invalid network name (host name) specified.
| #define NQ_ERR_INVDEVICE (NQ_ERR_MODULE | 2007) |
Invalid device - printer request made to non-printer connection or non-printer request made to printer connection.
| #define NQ_ERR_QFULL (NQ_ERR_MODULE | 2049) |
Print queue full (files) – returned by open print file.
| #define NQ_ERR_QTOOBIG (NQ_ERR_MODULE | 2050) |
Print queue full – no space .
| #define NQ_ERR_QEOF (NQ_ERR_MODULE | 2051) |
End of file.
| #define NQ_ERR_INVFID (NQ_ERR_MODULE | 2052) |
Invalid file handle.
| #define NQ_ERR_SMBCMD (NQ_ERR_MODULE | 2064) |
The server did not recognize the command received.
| #define NQ_ERR_SRVERROR (NQ_ERR_MODULE | 2065) |
The server encountered an internal error, e.g. system file unavailable.
| #define NQ_ERR_FILESPECS (NQ_ERR_MODULE | 2067) |
The file handle and pathname parameters contained an invalid combination of values.
| #define NQ_ERR_BADPERMITS (NQ_ERR_MODULE | 2069) |
The access permissions specified for a file or directory are not a valid combination. The server cannot set the requested attribute.
| #define NQ_ERR_SETATTRMODE (NQ_ERR_MODULE | 2071) |
The attribute mode in the Set File Attribute request is invalid.
| #define NQ_ERR_PAUSED (NQ_ERR_MODULE | 2081) |
Server paused (reserved for messaging).
| #define NQ_ERR_MSGOFF (NQ_ERR_MODULE | 2082) |
Not receiving messages (reserved for messaging).
| #define NQ_ERR_NOROOM (NQ_ERR_MODULE | 2083) |
No room to buffer message (reserved for messaging).
| #define NQ_ERR_RMUNS (NQ_ERR_MODULE | 2087) |
Too many remote user names (reserved for messaging).
| #define NQ_ERR_TIMEOUT (NQ_ERR_MODULE | 2088) |
Operation timed out.
| #define NQ_ERR_NORESOURCE (NQ_ERR_MODULE | 2089) |
No resources currently available for request.
| #define NQ_ERR_TOOMANYUIDS (NQ_ERR_MODULE | 2090) |
Too many users active on this session.
| #define NQ_ERR_INVUID (NQ_ERR_MODULE | 2091) |
The UID is not known as a valid user identifier on this session.
| #define NQ_ERR_USEMPX (NQ_ERR_MODULE | 2250) |
Temporarily unable to support Raw, use MPX mode.
| #define NQ_ERR_USESTD (NQ_ERR_MODULE | 2251) |
Temporarily unable to support Raw, use standard read/write.
| #define NQ_ERR_CONTMPX (NQ_ERR_MODULE | 2252) |
Continue in MPX mode.
| #define NQ_ERR_NOSUPPORT (NQ_ERR_MODULE | 2999) |
Function not supported.
| #define NQ_ERR_NOWRITE (NQ_ERR_MODULE | 3019) |
Attempt to write on write-protected media.
| #define NQ_ERR_BADUNIT (NQ_ERR_MODULE | 3020) |
Unknown unit.
| #define NQ_ERR_NOTREADY (NQ_ERR_MODULE | 3021) |
Drive not ready.
| #define NQ_ERR_BADCMD (NQ_ERR_MODULE | 3022) |
Unknown command.
| #define NQ_ERR_DATA (NQ_ERR_MODULE | 3023) |
Data error (CRC).
| #define NQ_ERR_BADREQ (NQ_ERR_MODULE | 3024) |
Bad request structure length.
| #define NQ_ERR_SEEK (NQ_ERR_MODULE | 3025) |
Seek error.
| #define NQ_ERR_BADMEDIA (NQ_ERR_MODULE | 3026) |
Unknown media type.
| #define NQ_ERR_BADSECTOR (NQ_ERR_MODULE | 3027) |
Sector not found.
| #define NQ_ERR_NOPAPER (NQ_ERR_MODULE | 3028) |
Printer out of paper.
| #define NQ_ERR_WRITE (NQ_ERR_MODULE | 3029) |
Write fault.
| #define NQ_ERR_READ (NQ_ERR_MODULE | 3030) |
Read fault.
| #define NQ_ERR_GENERAL (NQ_ERR_MODULE | 3031) |
General hardware failure.
| #define NQ_ERR_WRONGDISK (NQ_ERR_MODULE | 3034) |
The wrong disk was found in a drive.
| #define NQ_ERR_FCBUNAVAIL (NQ_ERR_MODULE | 3035) |
No FCBs are available to process request.
| #define NQ_ERR_SHAREBUFEXC (NQ_ERR_MODULE | 3036) |
A sharing buffer has been exceeded.
| #define NQ_ERR_DISKFULL (NQ_ERR_MODULE | 3039) |
The disk is full.